<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/constrant.jsp"%>
<html>
<head>
<meta name="decorator" content="front" />
<title>订单详情</title>
<link href="${ctxStatic }/xiake/css/list.css" rel='stylesheet'
	type='text/css' />
<link href="${ctxStatic }/xiake/css/style.css" rel='stylesheet'
	type='text/css' />
<style type="text/css">
.row_title {
	height: 40px;
	line-height: 40px;
	background-color: #efefef;
	padding-left: 10px;
}
.row_list{

}
.row_list ul{
	margin: 0;
	padding: 0;
}
.row_list ul li{
	height: 45px;
	line-height: 45px;
	border-bottom: 1px solid #efefef;
}
.col1{
	width: 10%;
	display:inline-block;
	text-align:right;
	padding-right:10px;
}
.col2{
	
}
</style>
<script>

</script>
</head>
<body>
	<div class="container font_normal_size">
		<c:set var="siderMenuName" value="我的订单"/>
		<%@ include file="/WEB-INF/views/modules/base/siderMenu.jsp"%>
		<div class="container_con">
			<div class="row_title">订单详情</div>
			<div class="row_list">
				<ul>
					<li>
						<span class="col1">订单名称:</span>
						<span class="col2">${orders.ordername }</span>
					</li>
					<li>
						<span class="col1">订单日期:</span>
						<span class="col2"><fmt:formatDate value="${orders.createDate }" pattern="yyyy-MM-dd HH:mm:ss"/></span>
					</li>
					<li>
						<span class="col1">订单状态:</span>
						<span class="col2">
							<c:if test="${orders.orderstatus == TORDERS_STATUS_PAY}">已支付</c:if>
							<c:if test="${orders.orderstatus == TORDERS_STATUS_NO_PAY}">未支付</c:if>
							<c:if test="${orders.orderstatus == TORDERS_STATUS_CANCEL}">作废</c:if>
							<c:if test="${orders.orderstatus == TORDERS_STATUS_BACK}">已取消</c:if>
						</span>
					</li>
					<!-- <li>
						<span class="col1">出发地:</span>
						<span class="col2">上海</span>
					</li>
					<li>
						<span class="col1">目的地:</span>
						<span class="col2">上海</span>
					</li> -->
					<li>
						<span class="col1">出发时间:</span>
						<span class="col2"><fmt:formatDate value="${orders.departdate }" pattern="yyyy-MM-dd HH:mm"/></span>
					</li>
					<c:if test="${orders.ordertype ne ORDER_TYPE_RENTPRODUCT_AIRPLANE and orders.ordertype ne ORDER_TYPE_RENTPRODUCT_TRAIN }">
						<li>
							<span class="col1">包车天数:</span>
							<span class="col2">${orders.bookingdays }天</span>
						</li>
					</c:if>
					<li>
						<span class="col1">车辆数:</span>
						<span class="col2">${orders.purchasenum }辆</span>
					</li>
					<li>
						<span class="col1">车型:</span>
						<span class="col2">${orders.cartype.typename }<c:if test="${not empty react }">（${react.remarks }）</c:if></span>
					</li>
					<li>
						<span class="col1">品牌:</span>
						<span class="col2">${orders.cartype.typedesc }</span>
					</li>
					<c:if test="${orders.ordertype eq ORDER_TYPE_RENTPRODUCT_AIRPLANE}">
						<c:set var="boardName" value="接送机地点"></c:set>
					</c:if>
					<c:if test="${orders.ordertype eq ORDER_TYPE_RENTPRODUCT_TRAIN}">
						<c:set var="boardName" value="接送火车地点"></c:set>
					</c:if>
					<li>
						<span class="col1">${not empty boardName?boardName:'上车地点' }:</span>
						<span class="col2">${orders.boardaddr }</span>
					</li>
					<%-- <c:if test="${orders.ordertype eq ORDER_TYPE_RENTPRODUCT_AIRPLANE or orders.ordertype eq ORDER_TYPE_RENTPRODUCT_TRAIN }">
						<li>
							<span class="col1">下车地点:</span>
							<span class="col2">${orders.offaddr }</span>
						</li>
					</c:if> --%>
					<li>
						<span class="col1">联系人姓名:</span>
						<span class="col2">${orders.contacts }</span>
					</li>
					<li>
						<span class="col1">联系人电话:</span>
						<span class="col2">${orders.payertel }</span>
					</li>
					<li>
						<span class="col1">行程备注:</span>
						<span class="col2">${orders.remarks }</span>
					</li>
				</ul>
			</div>
			<div style="margin-top:20px;margin-left:350px;"><a href="${ctxFront}/orders/orderList">返回</a></div>
		</div>
	</div>
	<div class="clear"></div>
</body>
</html>